//-----------------------------------------------------------------------
// <copyright file="CountryBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class CountryBase
	{
		
		#region Variable Declarations
		private int				countryID = 0;
		private string				countryCode = string.Empty;
		private string				countryName = string.Empty;
		private decimal				roadWeight = 0;
		private string				measUnit = string.Empty;
		private bool isShowOnIDSCart = false;
		#endregion
		
		#region Constructors
		public CountryBase() {}
		
		public CountryBase (
			int countryID,
			string countryCode,
			string countryName,
			decimal roadWeight,
			string measUnit,
			bool isShowOnIDSCart)
		
		{
			this.countryID = countryID;
			this.countryCode = countryCode;
			this.countryName = countryName;
			this.roadWeight = roadWeight;
			this.measUnit = measUnit;
			this.isShowOnIDSCart = isShowOnIDSCart;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CountryID
		{
			get { return countryID; }
			set { countryID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CountryCode
		{
			get { return countryCode; }
			set { countryCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CountryName
		{
			get { return countryName; }
			set { countryName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal RoadWeight
		{
			get { return roadWeight; }
			set { roadWeight = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string MeasUnit
		{
			get { return measUnit; }
			set { measUnit = value; }
		}

		public bool IsShowOnIDSCart
		{
			get{return isShowOnIDSCart;}
			set {isShowOnIDSCart = value;}
		}
		#endregion
	}//End Class
	
	public enum CountryColumns
	{
		CountryID,
		CountryCode,
		CountryName,
		RoadWeight,
		MeasUnit,
		IsShowOnIDSCart
	}//End enum
}